package com.mqr.wallet.service.impl;

import com.mqr.wallet.common.constant.WalletConstants;
import com.mqr.wallet.service.CashWithdrawalService;
import com.mqr.wallet.vo.CashResult;
import com.mqr.wallet.vo.CashWithdrawalVO;
import org.springframework.stereotype.Service;

/**
 * <B>主类名称：</B>ICBCWalletServiceImpl<BR>
 * <B>概要说明：</B>中国工商银行提现组件<BR>
 *
 * @author mqr
 * @since 2023年2月21日 下午12:52:50
 */
@Service(WalletConstants.ICBC + WalletConstants.CASH_WITHDRAWAL_SERVICE)
public class ICBCWalletServiceImpl implements CashWithdrawalService {
    @Override
    public CashResult execute(CashWithdrawalVO cashWithdrawalVO) {
        // TODO 此处省略工商银行具体提现方法
        CashResult.Builder builder = CashResult.builder();
        return builder.cashNo("ICBC0001").code("200").message("中国工商银行提现成功！").build();
    }
}
